package cn.exrick.xboot.modules.assessment.service;

import cn.exrick.xboot.base.XbootBaseService;
import cn.exrick.xboot.common.vo.SearchVo;
import cn.exrick.xboot.modules.assessment.entity.HkFormIndex;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 表单项接口
 * @author yck
 */
public interface HkFormIndexService extends XbootBaseService<HkFormIndex, String> {

    /**
    * 多条件分页获取
    * @param hkFormIndex
    * @param searchVo
    * @param pageable
    * @return
    */
    Page<HkFormIndex> findByCondition(HkFormIndex hkFormIndex, SearchVo searchVo, Pageable pageable);

    void setCustomDeleteFormIndex(String id) throws Exception;

    void setCustomAddFormIndex(String id) throws Exception;

    List<HkFormIndex> getAllList(HkFormIndex hkFormIndex);
}